/**
 * StateOrTimeEnum.java
 * com.sftj.framework.enums
 * Copyright (c) 2017, 北京科技有限公司版权所有.
*/

package com.sftz.assets.enums;

import com.uxuexi.core.common.enums.IEnum;

/**
 * @author   郝振斌
 * @Date	 2018年11月8日 	 
 */
public enum StateOrTimeEnum implements IEnum {

	UNAPPROVED(1, "未审批"), APPROVED(2, "已审批"), WILLDATED(3, "将过期"), DATED(4, "已过期"), ALLSTA(5, "全部");
	private int key;
	private String value;

	private StateOrTimeEnum(final int key, final String value) {
		this.value = value;
		this.key = key;
	}

	@Override
	public String key() {
		return String.valueOf(key);
	}

	public int intKey() {
		return key;
	}

	@Override
	public String value() {
		return value;
	}

}
